<template>
	<view class="container">
		<uv-parse :content="content"></uv-parse>
	</view>
</template>

<script>
	const app = getApp();
	export default {
		data() {
			return {
				content: `
					<p>露从今夜白，月是故乡明</p>
					<img src="https://cdn.uviewui.com/uview/swiper/2.jpg" />
				`
			};
		},
		methods: {
			onDetails() {
				app.navigationTo('pages/H5/details')
			}
		}
	}
</script>

<style lang="scss" scoped>
	.container {
		overflow: hidden;
		min-height: 100vh;
		width: 100vw;
		padding: 24rpx;
		box-sizing: border-box;
		font-size: 32rpx;
		line-height: 1.6;
	}
</style>